How To Use Groupby To Group Categories In A Pandas Dataframe